package com.irs.mapper;

import com.irs.pojo.BuildingVideo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;
@Component
public interface BuildingVideoMapper {

    int insert1(@Param("pojo") BuildingVideo pojo);

    int insertList(@Param("pojos") List<BuildingVideo> pojo);

    List<BuildingVideo> select(@Param("pojo") BuildingVideo pojo);

    int update(@Param("pojo") BuildingVideo pojo);

    //
    int deleteByPrimaryKey(String id);

    int insert(BuildingVideo record);

    BuildingVideo selectByPrimaryKey(String id);

    List<BuildingVideo> selectAll();

    int updateByPrimaryKey(BuildingVideo record);


}
